package com.moralesdelcastillo.guestbook.client;

import com.google.gwt.core.client.JavaScriptObject;

class GuestData extends JavaScriptObject {
  // Overlay types always have protected, zero argument constructors.
  protected GuestData() {}

  // JSNI methods to get guest data.
  public final native String getName() /*-{ return this.name; }-*/;
  public final native String getLastName() /*-{ return this.lastName; }-*/;
  public final native char getGender() /*-{return this.gender}-*/ ;
  public final native String getCountry() /*-{return this.country}-*/;
  public final native String getComment() /*-{return this.comment}-*/;
  public final native String getDate() /*-{return this.date}-*/;
}
